package com.sky.service;


import com.sky.dto.*;

import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
    OrderSubmitVO submit(OrdersSubmitDTO ordersSubmitDTO);



    PageResult history(int page, int pageSize, Integer status);

    OrderVO selectByOrderId(Long id);

    void CancelByOrderId(Long id);

    void addByOrderId(Long id);

    PageResult condition(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderStatisticsVO statistics();

    void ReceiveOrder(OrdersConfirmDTO confirmDTO);

    void CancelOrder(OrdersCancelDTO confirmDTO);

    void complete(Long id);

    void RejectOrder(OrdersRejectionDTO ordersRejectionDTO);

    void deliver(Long id);
        void checkTimeAndStatus();

    void checkTimeAndStatusComplete();

    void reminder(Long id);



//
//    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;
//
//    void paySuccess(String outTradeNo);

}
